package caiziyou.com.designpattern.adapter.springmvc;

public class SimpleHandlerAdapter implements HandlerAdapter {

	@Override
	public boolean supports(Controller controller) {
		
		return controller instanceof SimpleController;
	}

	@Override
	public void handle(Controller controller) {
		((SimpleController)controller).doSimpleController();
	}

}
